Editor

Disable syntax highlight and code completion if SQL larger than: Edit Box MB

The highlighting and code completion features can be limited by setting the maximum file size (e.g. 10) to increase performance.

Show

Show line number

Display line numbers at the side of the editor for easily reference.

Use code folding

Code folding allows codes to collapse as a block and only the first line displayed in the editor.

Use brace highlighting

Highlight the pair of braces when your cursor moves to either one brace for easily reference.

Use syntax highlighting

Syntax highlight helps viewing codes clearly. Codes are highlighted in the editor with different colors and fonts according to the categories they belong to.

Text Layout

Tab Width: Edit Box spaces

Enter the number of characters that a tab occupies, e.g. 5.

Use word wrap

Enable the word wrap mode in the editor.

Code Completion

Use code completion (Available only in Non-Essentials Edition)

When you type the . (dot) symbol or a character, the editor will offer you a pop-up list that showing some suggestions for the code completion.

Auto update code completion info (Available only in Non-Essentials Edition)

With this option is on, Navicat will get the latest database information for code completion from your server automatically when you open the database/schema. Otherwise, you will need to update it manually in the Query window.

See SQL Editor or Script Editor.

Font and Colors

Font

Define the font and its size used by the editor.

Use default font

Check this option to use the default font settings.

Syntax Colors

Format your queries in the editor with colored syntax highlighting to improve readability. Set font colors to mark out different text fragments: Common, Keyword, String, Number, Comment and Background. Click on the color boxes and choose your desired color from the Colors dialog window.